package com.pipe.servicepipe.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.pipe.servicepipe.entity.PipeUser;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * 用户表 Mapper 接口
 * </p>
 *
 * @author hetao
 * @since 2020-07-12
 */
public interface PipeUserMapper extends BaseMapper<PipeUser> {

    PipeUser getAdmin(@Param("username") String username);

    PipeUser getAdminByPhone(@Param("phone") String phone);

}
